Propagation Patterns : Abbreviated Speci cations of Cooperative
نویسندگان
چکیده
DRAFT Abstract Object-oriented programs often have a regular structure in that functions are propagated to classes which are connected by part-of and inheritance relations. To abbreviate the description of programs and to organize them eeectively, we propose a propagation model which allows a concise speciication of propagation patterns. Propagation patterns ooer an abstraction mechanism for object-oriented programs that exploits part-of and inheritance relations on classes. A propagation pattern consists of a set of propagation directives. Each propagation directive is speciied by a set of source vertices, an optional set of target vertices, an optional set of required edges and an optional set of bypassing edges. For each vertex to which the function interface is propagated, the function body calls the function recursively for (some of) its parts. A set of overriding functions may replace some of the generated functions. We have implemented propagation patterns for C++ and we are already using them successfully for CASE tool development, including the propagation pattern tool itself.
منابع مشابه
FCT'99 Preliminary Version A Protocol for Distributed Cooperative Work
After a brief review of hidden algebra, we give behavioral speci cations for set theory and closure operators, and then use these to give a behavioral speci cation of an abstract protocol to support distributed cooperative work structured by dependencies in such a way as to form what we call a weak closure operator. We give some correctness proofs for this protocol, and then describe a concrete...
متن کاملAutomatic Generation of Complex LTL Speci cations Through Patterns and Composite Propositions
Property classi cations and patterns, i.e., high-level abstractions that describe common behavior, have been used to assist practitioners in generating formal speci cations that can be used in formal veri cation techniques. The Speci cation Pattern System (SPS) provides descriptions of a collection of patterns. Each pattern is associated with a scope that de nes the extent of program execution ...
متن کاملEvents in Property Patterns
A pattern-based approach to the presentation, codi cation and reuse of property speci cations for nite-state veri cation was proposed by Dwyer and his colleagues in [4,3]. The patterns enable nonexperts to read and write formal speci cations for realistic systems and facilitate easy conversion of speci cations between formalisms, such as LTL, CTL, QRE. In this paper we extend the pattern system...
متن کاملVeri cation of Automatically Generated Pattern-Based LTL Speci cations
The use of property classi cations and patterns, i.e., high-level abstractions that describe common behavior, have been shown to assist practitioners in generating formal speci cations that can be used in formal veri cation techniques. The Speci cation Pattern System (SPS) provides descriptions of a collection of patterns. The extent of program execution over which a pattern must hold is descri...
متن کاملSynthesis of Protocol Entities' Speci cations from Service Speci cations in a Petri Net Model with Registers
In general, the services of a distributed system are provided by some cooperative protocol entities. The protocol entities must exchange some data values and synchronization messages in order to ensure the temporal ordering of the events which are described in a service speci cation of the distributed system. It is desirable that a correct protocol entity speci cation for each node can be deriv...
متن کامل